package cn.walls1717.ggkt.vod.service;

import cn.walls1717.ggkt.model.vod.VideoVisitor;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * 视频来访者记录接口
 *
 * @author walls1717
 * @since 2022/07/16
 */
public interface VideoVisitorService extends IService<VideoVisitor> {

    /**
     * 课程统计
     *
     * @param courseId 课程id
     * @param startDate 开始时间
     * @param endDate 结束时间
     * @return 坐标
     */
    Map<String, Object> countVisitor(Long courseId, String startDate, String endDate);
}
